Skip to content

Conversation

@roomote
Copy link

@roomote roomote bot commented Sep 5, 2025

This PR updates the DeepSeek pricing configuration to reflect the new unified rates that take effect at 16:00 UTC on September 5th, 2025.

Changes

  • Updated deepseek-chat pricing to new unified rates
  • Updated deepseek-reasoner pricing to match deepseek-chat (unified pricing)
  • Added comments indicating the update date for clarity

New Pricing (effective Sept 5, 2025 at 16:00 UTC)

Both models now have identical pricing:

  • Input tokens (cache miss): $0.56 per million
  • Input tokens (cache hit): $0.07 per million
  • Output tokens: $1.68 per million

Previous Pricing

  • deepseek-chat: $0.27 input, $1.10 output
  • deepseek-reasoner: $0.55 input, $2.19 output

Testing

  • ✅ All tests pass in packages/types
  • ✅ Linting passes
  • ✅ Type checking passes

Fixes #7685

cc @daniel-lxs @NaccOll


Important

Update DeepSeek pricing to new unified rates effective September 5, 2025, in deepseek.ts.

  • Pricing Update:
    • Updated deepseek-chat and deepseek-reasoner pricing in deepseek.ts to new unified rates effective Sept 5, 2025.
    • New rates: $0.56 per million input tokens (cache miss), $0.07 per million input tokens (cache hit), $1.68 per million output tokens.
  • Comments:
    • Added comments in deepseek.ts indicating the update date for clarity.
  • Testing:
    • All tests, linting, and type checking pass.

This description was created by Ellipsis for fb853be. You can customize this summary. It will automatically update as commits are pushed.

- Updated deepseek-chat pricing: $0.56 input (cache miss), $0.07 (cache hit), $1.68 output
- Updated deepseek-reasoner pricing: same unified rates as deepseek-chat
- Both models now have identical pricing as per DeepSeek announcement
- Pricing takes effect at 16:00 UTC, Sept 5th, 2025

Fixes #7685
@roomote roomote bot requested review from cte, jr and mrubens as code owners September 5, 2025 01:32
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 5, 2025
Copy link
Author

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing my own code is like debugging in a mirror - everything looks backwards but somehow still broken.

outputPrice: 1.1, // $1.10 per million tokens
cacheWritesPrice: 0.27, // $0.27 per million tokens (cache miss)
cacheReadsPrice: 0.07, // $0.07 per million tokens (cache hit).
inputPrice: 0.56, // $0.56 per million tokens (cache miss) - Updated Sept 5, 2025
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider being more specific with the timezone: Updated Sept 5, 2025 16:00 UTC to match the exact timing mentioned in the issue. This would help future maintainers know the precise cutoff time.

outputPrice: 2.19, // $2.19 per million tokens
cacheWritesPrice: 0.55, // $0.55 per million tokens (cache miss)
cacheReadsPrice: 0.14, // $0.14 per million tokens (cache hit)
inputPrice: 0.56, // $0.56 per million tokens (cache miss) - Updated Sept 5, 2025
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same suggestion here - consider adding the UTC time: Updated Sept 5, 2025 16:00 UTC

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 5, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Prelim Review] in Roo Code Roadmap Sep 5, 2025
@hannesrudolph hannesrudolph added PR - Needs Preliminary Review and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Sep 5, 2025
@daniel-lxs daniel-lxs moved this from PR [Needs Prelim Review] to PR [Needs Review] in Roo Code Roadmap Sep 5, 2025
Copy link
Member

@daniel-lxs daniel-lxs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 5, 2025
@mrubens mrubens merged commit e8deedd into main Sep 5, 2025
23 checks passed
@mrubens mrubens deleted the fix/update-deepseek-pricing-sept-2025 branch September 5, 2025 22:46
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Sep 5, 2025
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer PR - Needs Review size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

The price of Deepseek should update

5 participants